package com.gadgets.framework.sysParam.dto;

import com.gadgets.framework.common.dto.BaseQueryDTO;
import com.gadgets.framework.common.util.StringUtils;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2021-07-19
 * @moduel gadgets
 *
 */
public class SysParamQueryDTO extends BaseQueryDTO {

    /**
     * 参数名
     */
    private String paramName;
    /**
     * 参数码值
     */
    private String paramCode;

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        if(!StringUtils.isBlank(paramName)) {
            this.paramName = "%" + paramName + "%";
        }
    }

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        if(!StringUtils.isBlank(paramCode)) {
            this.paramCode = "%" + paramCode + "%";
        }
    }
}
